﻿@model DLM.Web.ViewModel.ResetPasswordPageView
@{
    ViewBag.Title = "重置密码";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm("ResetPassword", "Account", FormMethod.Post))
{
    <div class="main register">
        <div class="main_tab_2">
            <div class="main_tab_2_up">
                <ul>
                    <li class="current"><a href="#">密码重置</a></li>
                </ul>
            </div>
            <div class="main_tab_2_down">
                <div class="box">
                    <br />
                    @Html.ValidationSummary(true, "密码重置失败")
                    @Html.HiddenFor(m=>m.Code)
                    <div class="tr clearfix">
                        <label class="lb">
                            <s>*</s>新密码</label>
                        <div class="info">
                            @Html.PasswordFor(m => m.Password, new { @class = "text t_3" })
                            @Html.ValidationMessageFor(m => m.Password)
                        </div>
                    </div>
                    <div class="tr clearfix">
                        <label class="lb">
                            <s>*</s>确认</label>
                        <div class="info">
                            @Html.PasswordFor(m => m.ConfirmedPassword, new { @class = "text t_3" })
                            @Html.ValidationMessageFor(m => m.ConfirmedPassword)
                        </div>
                    </div>
                    <div class="tr clearfix btn">
                        <label class="lb">
                            <s></s>&nbsp;</label>
                        <div class="info">
                          @*  <input type="submit" value="" class="re_active" />*@
                              <input type="submit" value="" class="edit_info" /><br />
                            <a href="@Url.Action("Login","Account")">重新登录系统</a>
                            @if (TempData["Message"] != null)
                            { 
                                <div class="va success">
                                    @TempData["Message"]</div>
                            }
                        </div>
                    </div>
                </div>
                <div class="box" style="display: none;">
                    456</div>
            </div>
        </div>
    </div>
    <!--main-end-->
}
